#-------------------------------------------------------------------
# This file is part of the CMake build system for MP Galaxy
#     (Multi Player Galaxy Game)
# For the latest info, see http://www.MPG3d.org/
#
# The contents of this file are placed in the public domain. Feel
# free to make use of it in any way you like.
#-------------------------------------------------------------------

####################################
#  MP-Galaxy BUILD SYSTEM 
#  Project: Entity
####################################

PROJECT(CoreDatabase)

set (HEADER_FILES
	Database.h
	Record.h
)
set (SOURCE_FILES
	Database.cpp
	Record.cpp
)

#source_group (properties FILES ${PROP_HEADER_FILES} ${PROP_SOURCE_FILES})

set (HEADERS
	${HEADER_FILES}
#	${PROP_HEADER_FILES}
)
set (SOURCES
	${SOURCE_FILES}
#	${PROP_SOURCE_FILES}
)

include_directories (${MPG_SOURCE_DIR} ${MYSQL_INCLUDE_DIR})

add_library (CoreDatabase STATIC ${HEADERS} ${SOURCES})
